import PureLayerLink from '../components/layer-link';
import * as CommonAction from 'actions';
import * as ReactRedux from 'react-redux';

const mapDispatchToProps = (dispatch) => {
  return {
    onClick: (layer) => dispatch(CommonAction.pushLayer(layer))
  };
};

export default ReactRedux.connect(undefined, mapDispatchToProps)(PureLayerLink);
